<table class="table">
    <thead>
    <tr>
        <th>名称</th>
        <th>手机</th>
        <th>职务</th>
        <th style="width:50px;" class="row-first">选择</th>
    </tr>
    </thead>
    <tbody>
    {loop $selects $item}
    <tr>
        <td>{$item['name']} </td>
        <td>{$item['mobile']}</td>
        <td>{$item['worktitle']}</td>
        <td style="width:80px;"><a href="javascript:;" onclick='select_entry({php echo json_encode($item);});$(this).parent().parent().remove();'>添加</a></td>
    </tr>
    {/loop}
    </tbody>
</table>